package com.entity;

import java.sql.Date;

/*
 *
 *@author XCH
 *@date2025 - 02 - 24
 *
 */
public class Employees {
    private String id;
    private String name;
    private int age;
    private String phone;
    private String sta_pos;
    private Date add_time;
    private Date update_time;

    public Employees() {
    }

    public Employees(String id, String name, int age, String phone, String sta_pos, Date add_time, Date update_time) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.sta_pos = sta_pos;
        this.add_time = add_time;
        this.update_time = update_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSta_pos() {
        return sta_pos;
    }

    public void setSta_pos(String sta_pos) {
        this.sta_pos = sta_pos;
    }

    public Date getAdd_time() {
        return add_time;
    }

    public void setAdd_time(Date add_time) {
        this.add_time = add_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Employees{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", sta_pos='" + sta_pos + '\'' +
                ", add_time=" + add_time +
                ", update_time=" + update_time +
                '}';
    }
}
